Add SaveChanges interceptor branch coverage tests#328
Merged
Conversation
Merged
cdcavell
added a commit
that referenced
this pull request
Jun 29, 2026
## Summary - Bumps shared build and template package version metadata from `2.1.0` to `2.2.0`. - Adds the `2.2.0` changelog entry covering the EF Core save-pipeline extraction, composite SaveChanges interceptor, ChangeTracker enumeration reduction, save-pipeline documentation, branch-focused interceptor tests, and package/documentation image refresh. - Updates template package release notes for the 2.2.0 minor release. - Updates README, package README, template packaging docs, citation metadata, and Zenodo metadata to reference `2.2.0`. ## Release Notes This is a minor release because it introduces and documents a clearer EF Core save-pipeline extension seam while preserving the stable `2.x` package identity, template short name, template options, and default scaffold behavior. The default generated scaffold continues to use the same package identity, template identity, authentication options, data-access options, and local SQLite development path. ## Validation - Not run locally; changes were made through the GitHub connector. - CI should run the release branch validation, including build, tests, coverage gate, template packing, scaffold smoke tests, and documentation checks. - Before publishing, run the release gate items from `RELEASE.md`, including `./scripts/Validate-VersionConsistency.ps1`. ## Notes - Branch was prepared from latest `main`, including the merged branch coverage test PR #328.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ApplicationSaveChangesInterceptor.ApplicationDbContextbranches where the interceptor should not invoke the application save pipeline.trueonly once.Validation
Notes
I targeted the recently added SaveChanges interceptor branch paths because they are likely to be among the below-70 branch coverage areas after the EF Core save-pipeline refactor.